package com.tenement.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.tenement.dto.SelectDto;
import com.tenement.entity.Properties;
import com.tenement.vo.QueryVo;

import java.util.List;

/**
 *  服务层。
 *
 * @author BertXie
 * @since 1.0.1
 */
public interface PropertiesService extends IService<Properties> {

    Page<Properties> list(QueryVo queryVo);

    boolean delete(Long id);

    List<SelectDto> bindSelect(String keyWord);

    int operator(Properties properties,Long userId);
}
